package com.eshop.modules.canvas.service;

import java.io.IOException;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import com.eshop.modules.canvas.service.dto.StoreCanvasDto;
import com.eshop.domain.PageResult;
import org.springframework.data.domain.Pageable;
import com.eshop.modules.canvas.service.dto.StoreCanvasQueryCriteria;
import com.eshop.modules.canvas.domain.StoreCanvas;
import com.eshop.common.service.BaseService;

public interface StoreCanvasService extends BaseService<StoreCanvas>
{
    PageResult<StoreCanvasDto> queryAll(final StoreCanvasQueryCriteria criteria, final Pageable pageable);
    
    List<StoreCanvas> queryAll(final StoreCanvasQueryCriteria criteria);
    
    void download(final List<StoreCanvasDto> all, final HttpServletResponse response) throws IOException;
}
